package net.maku.module.staff.convert;

import net.maku.module.staff.entity.CertificateEntity;
import net.maku.module.staff.vo.CertificateVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_员工_证书
*
* @author    
*/
@Mapper
public interface CertificateConvert {
    CertificateConvert INSTANCE = Mappers.getMapper(CertificateConvert.class);

    CertificateEntity convert(CertificateVO vo);

    CertificateVO convert(CertificateEntity entity);

    List<CertificateVO> convertList(List<CertificateEntity> list);

}